package com.itheima.dao.store;

import com.itheima.domain.store.QuestionItem;


import java.util.List;

public interface QuestionItemDao {
    /**
     *
     * @param questionId 需要编辑选项的题目的id
     * @return
     */
    List<QuestionItem> findAll(String questionId);

    void save(QuestionItem questionItem);

    QuestionItem findById(String id);

    void update(QuestionItem questionItem);

    void delete(String id);
}
